package com.hy.medicine.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MedicineStockRecordVO {
    private Integer recordId;
    private Integer medicineId;
    private Integer changeQuantity;
    private Integer changeType;
    private Integer beforeQuantity;
    private Integer afterQuantity;
    private Integer operatorId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operateTime;

    private String remark;

    // 药品信息
    private String medicineName;
    private String specification;
    private String manufacturer;
    private String approvalNumber;
    private Integer minStock;
    private BigDecimal price;
    private Integer shelfLife;

    // 操作人信息
    private String operatorName;

    // 分类信息
    private String commonCategoryName;
    private String prescriptionCategoryName;
}
